import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './common/config/routerConfig' // 路由全局配置
import store from './store'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import './common/directive/checkRole' // 全局指令
import './common/components/index'
import utils from '@/common/util/utils'
import dayjs from 'dayjs'
import httpStatus from'./common/constant/httpStatus'
let constant = { ...httpStatus };
Vue.prototype.$constant = constant
Vue.prototype.$utils = utils
Vue.prototype.$dayjs = dayjs
Vue.config.productionTip = false
Vue.use(Antd)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
